/*  1:   */ package org.intellij.plugins.relaxNG.references;
/*  2:   */ 
/*  3:   */

import com.intellij.psi.xml.XmlAttributeValue;
import com.intellij.util.Function;
import com.intellij.util.containers.ContainerUtil;

import java.util.Set;

/*  4:   */
/*  5:   */
/*  6:   */
/*  7:   */ 
/*  8:   */ class AttributeValueFunction
/*  9:   */   implements Function<XmlAttributeValue, String>
/* 10:   */ {
/* 11:   */   public String fun(XmlAttributeValue paramXmlAttributeValue)
/* 12:   */   {
/* 13:27 */     return paramXmlAttributeValue.getValue();
/* 14:   */   }
/* 15:   */   
/* 16:   */   public static String[] toStrings(Set<XmlAttributeValue> paramSet)
/* 17:   */   {
/* 18:31 */     return (String[])ContainerUtil.map2Array(paramSet, String.class, new AttributeValueFunction());
/* 19:   */   }
/* 20:   */ }



/* Location:           E:\idea\

 * Qualified Name:     org.intellij.plugins.relaxNG.references.AttributeValueFunction

 * JD-Core Version:    0.7.0.1

 */